<wicket:head>
	<script language="javascript" wicket:id="loadScript">
	</script>
	<script language="javascript">
	var tl;

	function timeLineOnLoad(timelineMarkupId, timelineDataId, theme, eventSource, bandInfos) {
	    for (var bandno = 1 ; bandno < bandInfos.length ; bandno++)
	    {
	    	bandInfos[bandno].syncWith = bandno - 1;
		}
	    
	    tl = Timeline.create(document.getElementById(timelineMarkupId), bandInfos, Timeline.HORIZONTAL);

	    var doc=parse(timelineDataId); 
	    eventSource.loadXML(doc, 'embedded');
    }

	 /**
	  * Parse the XML document contained in the string argument and return
	  * a Document object that represents it. 
	  */
	function parse(elementId) 
	{
		var element = document.getElementById(elementId);
		if (element.documentElement == null)
		{
			element.documentElement = element.firstChild;
		}
		return element;
	}
	</script>
</wicket:head>

<wicket:panel>
<div wicket:id="tl" class="timeline-default" style="height: 400px">
</div>

<span >
<!-- note: no whitespace after xml tag: -->
<xml wicket:id="timelineData" style="display: none;"><data xmlns:wicket="wicket"
    wiki-url="http://simile.mit.edu/shelf/"
    wiki-section="Simile Monet Timeline">
    <!-- Source:
        http://en.wikipedia.org/wiki/Monet
        http://www.accents-n-art.com/artists/claude-monet-biography.html
    -->
    <event 
    	wicket:id="events"
        title="Birth"
        link="http://en.wikipedia.org/wiki/Monet"
        >
        <wicket:container wicket:id="text">
        Claude Monet, also known as Oscar-Claude Monet or Claude Oscar Monet
        was born to Adolphe and Louise-Justine Monet of 45 Rue Laffitte, 
        in the 9th arrondissement of Paris. 
        &lt;p&gt;
            He was christened as Oscar-Claude at the church of 
            Notre-Dame-de-Lorette. His father wanted him to go into the family 
            (grocery store) business, but Claude Monet wanted to become an artist. 
            His mother was a singer, both parents were second-generation Parisians.
        &lt;/p&gt;
        </wicket:container>
        </event>
	</data>
</xml>
</span>

</wicket:panel>

